package cn.wolfcode.wolf2w.query;

import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

@Getter
public class  TravelCondition {
    public static final Map<Integer,TravelCondition> DAYMAP = new HashMap<>();
    public static final Map<Integer,TravelCondition> PEREXPENDTYPEMAP = new HashMap<>();
    public static final Map<String,TravelCondition> TRAVELLIST = new HashMap<>();

    static {
        DAYMAP.put(1, new TravelCondition(0, 3));
        DAYMAP.put(2, new TravelCondition(4, 7));
        DAYMAP.put(3, new TravelCondition(8, 14));
        DAYMAP.put(4, new TravelCondition(15, Integer.MAX_VALUE));
    }
    static {
        PEREXPENDTYPEMAP.put(1, new TravelCondition(1, 999));
        PEREXPENDTYPEMAP.put(2, new TravelCondition(1000, 6000));
        PEREXPENDTYPEMAP.put(3, new TravelCondition(6001, 20000));
        PEREXPENDTYPEMAP.put(4, new TravelCondition(20001, Integer.MAX_VALUE));
    }
	private int min;
    private int max;
    public TravelCondition(int min,int max){
        this.max=max;
        this.min=min;
    }


}